package com.whli.autumn.mall.wms.domain.dto.warehousearea;

import com.whli.autumn.core.extend.domain.dto.BaseUpdateDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import javax.validation.constraints.NotBlank;

/**
 * <p>库区信息修改参数</p>
 *
 * @author whli
 * @version 1.0.0
 * @since 2023-04-09 08:37
 */
@ApiModel(description = "库区信息修改参数")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class WarehouseAreaUpdateDTO extends BaseUpdateDTO {

    @ApiModelProperty(value = "仓库分类，字典项-->WAREHOUSE_CATEGORY")
    private String warehouseCategory;

    @ApiModelProperty(value = "所属仓库")
    @NotBlank(message = "所属仓库不能为空")
    private String warehouseInfoId;

    @ApiModelProperty(value = "仓库编码")
    private String warehouseInfoCode;

    @ApiModelProperty(value = "仓库名称")
    private String warehouseInfoName;

    @ApiModelProperty(value = "库区属性，字典项-->WAREHOUSE_CATEGORY")
    @NotBlank(message = "库区属性不能为空")
    private String property;

    @ApiModelProperty(value = "库区编码")
    @NotBlank(message = "库区编码不能为空")
    private String code;

    @ApiModelProperty(value = "库区名称")
    @NotBlank(message = "库区名称不能为空")
    private String name;

}
